package com.sand.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.sand.dto.Owner.MerchantOrOwner;
import com.sand.dto.merchant.ContentUpdate;
import com.sand.dto.merchant.ContractAdd;
import com.sand.dto.merchant.StageDelete;
import com.sand.entity.conclude.stage;

import java.util.List;

public interface StageService extends IService<stage> {

    /**
     * 添加合同预购
     */
    Integer add(stage stage);


    /**
     * 修改合同预狗
     */
    Integer upd(ContentUpdate contentUpdate);

    /**
     * 查询所有预购
     */
    List<stage> all(MerchantOrOwner merchantOrOwner);

    /**
     * 删除预购
     */
    Integer down(StageDelete stageDelete);
}
